// 文章相关
import request from '../utils/request.js'
// 文章列表
export const getArticles = function (params) {
  return request({
    method: 'get',
    url: '/v1_1/articles',
    params
  })
}
// // 根据id 获取文章列表
export const getArticleById = function (articleId) {
  return request({
    method: 'get',
    url: `/v1_0/articles/${articleId}`
  })
}
